package co.edu.unal.controller.tool;

import java.awt.Point;
import java.awt.event.MouseEvent;

public abstract class Tool {

	public void mousePressed(MouseEvent e) {
		ptPressed = e.getPoint();
	}

	public Point getPtPressed() {
		return ptPressed;
	}

	public void setPtPressed(Point ptPressed) {
		this.ptPressed = ptPressed;
	}

	public void mouseReleased(MouseEvent e) {
		ptReleased = e.getPoint();
	}

	public Point getPtReleased() {
		return ptReleased;
	}

	public void setPtReleased(Point ptReleased) {
		this.ptReleased = ptReleased;
	}

	protected Point ptPressed;
	protected Point ptReleased;
}
